﻿//Copyright (C) <2013> jonathan cleeve norton website http://www.fin-plus.co.uk
using FinPlusCompCore;
using FinPlusAssembler;
using FinPlusInterfaces;

namespace FinPlusCompFeeds
{
    public class FinPlusYahooFeed: FinPlusComponent
    {
        [State(Test = true)]
        public override string TestString { get { return Adapter.ToString(); } }
        public override IPods Adapter { get { return _adapter; } }
   
        private readonly IPods _adapter;

        //construct
        public FinPlusYahooFeed(string period, string days, string tickers)
        {
            _adapter = IOC.New<IPods>();
        }

        //common control interface
        public override void CmdExecute(IPod command) 
        {
            //TODO
        }

        public override void Dispose()
        {
            //TODO
        }

        //private start
        private void Start()
        {


        }
    }
}
